<!doctype html>
<html class="no-js fixed-layout" data-ng-app="audittest">
#include("/WEB-INF/tpl/head.vm")
<link rel="stylesheet" href="../assets/css/amazeui.tree.css" />
<div data-ng-controller="admin-org">
	<div class="am-cf am-padding">
		<div class="am-fl am-cf">
			<strong class="am-text-primary am-text-lg">首页</strong> /
			<small>机构设置</small>
		</div>
	</div>
	<div>
		<div class="am-in am-u-sm-3">
			<button type="button" class="am-margin-right am-btn am-btn-primary" data-ng-click="add()">新增机构</button>
			<br/>
			<ul class="am-tree" id="firstTree">
				<li class="am-tree-branch am-hide" data-template="treebranch">
					<div class="am-tree-branch-header">
						<button class="am-tree-branch-name">
							<span class="am-tree-icon am-tree-icon-folder"></span>
							<span class="am-tree-label"></span>
						</button>
					</div>
					<ul class="am-tree-branch-children"></ul>
					<div class="am-tree-loader">
						<span class="am-icon-spin am-icon-spinner"></span>
					</div>
				</li>
				<li class="am-tree-item am-hide" data-template="treeitem">
					<button class="am-tree-item-name">
						<span class="am-tree-icon am-tree-icon-item"></span>
						<span class="am-tree-label"></span>
					</button>
				</li>
			</ul>
		</div>
	</div>

	<div class=" am-u-sm-9 am-form">新增/编辑 机构</div>
	<div class=" am-u-sm-9 am-form">
		<table class="am-table am-table-bd am-table-striped admin-content-table">
			<tr>
				<td>机构名称</td>
				<td>
					<input data-ng-model="currentItem.title" type="text" />
				</td>
			</tr>
		</table>
		<button type="button" class="am-btn am-btn-primary" data-ng-click="postData()">提交</button>
		<button type="button" class="am-btn am-btn-danger" data-ng-click="deleteItem()">删除</button>
	</div>

</div>
#include("/WEB-INF/tpl/footer.vm")
<script src="../assets/js/amazeui.tree.js"></script>

</html>